﻿using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
using System.Xml.Linq;

namespace Ocean.His.MedicalInsurance
{
    /// <summary>
    /// 
    /// </summary>
    [DataContract]
    public class SI2504Data
    {
        /// <summary>
        /// 待遇申报明细流水号
        /// 参数类型：字符型
        /// 参数长度：30
        /// 代码标识：
        /// 是否必填：Y
        /// 
        /// </summary>
        [DataMember(Name = "trt_dcla_detl_sn")]
        public string TrtDclaDetlSn { get; set; }

        /// <summary>
        /// 人员编号
        /// 参数类型：字符型
        /// 参数长度：30
        /// 代码标识：
        /// 是否必填：Y
        /// 
        /// </summary>
        [DataMember(Name = "psn_no")]
        public string PsnNo { get; set; }

        /// <summary>
        /// 备注
        /// 参数类型：字符型
        /// 参数长度：500
        /// 代码标识：
        /// 是否必填：Y
        /// 填写撤销原因
        /// </summary>
        [DataMember(Name = "memo")]
        public string Memo { get; set; }

    }

    /// <summary>
    /// 
    /// </summary>
    [DataContract]
    public class SI2504InputModel
    {
        [DataMember(Name = "data")]
        public SI2504Data SI2504Data { get; set; }
    }

    /// <summary>
    /// 2504
    /// 人员慢特病备案撤销
    /// </summary>
    [DataContract]
    public class SI2504RequestModel : SIBaseRequestModel
    {
        /// <summary>
        /// 交易输入
        /// </summary>
        [DataMember(Name = "input")]
        public SI2504InputModel Input { get; set; }

        public SI2504RequestModel(MedicalInsuranceOption medicalInsuranceOption,
            SI2504Data si2504Data) : base(medicalInsuranceOption)
        {
            Infno = "2504";
            Input = new SI2504InputModel();
            Input.SI2504Data = si2504Data;
        }
    }
}
